﻿/*----------------------------------------------------------------
//  <copyright file="ResetPwdEmailDto.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-09-13 18:52</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.Identity.Dtos
{
    #region "根据电子邮箱重置密码DTO"
    /// <summary>
    /// 根据电子邮箱重置密码DTO
    /// </summary>
    public class ResetPwdEmailDto
    {
        #region "属性"
        #region "获取或设置 电子邮箱"
        /// <summary>
        /// 获取或设置 电子邮箱
        /// </summary>
        public string Email { get; set; }
        #endregion
        #region "获取或设置 重置密码校验标识，由邮箱发送"
        /// <summary>
        /// 获取或设置 重置密码校验标识，由邮箱等发送
        /// </summary>
        public string Token { get; set; }
        #endregion
        #region "获取或设置 新密码"
        /// <summary>
        /// 获取或设置 新密码
        /// </summary>
        public string NewPassword { get; set; }
        #endregion
        #region "获取或设置 确认密码"
        /// <summary>
        /// 获取或设置 确认密码
        /// </summary>
        [Compare("NewPassword", ErrorMessage = "新密码与确认密码不匹配")]
        public string ConfirmPassword { get; set; }
        #endregion

        #endregion

    }
    #endregion

}
